#pragma once
#include "Model.h"
#include <string.h>

class Scene {

private:

	static std::vector<StreamedMesh*> g_Geometry;

public:
	static bool Create();
	static bool Release();

	static bool GetGeometry(StreamedMesh** pOut, tCharBuffer* pName);
	static bool InsertGeometry(StreamedMesh* pIn);
	static bool RemoveGeometry(StreamedMesh *pIn);

	static bool Draw();
	static bool Update();

	static bool WriteToDisk(std::string& filename);
	static bool ReadFromDisk(const std::string& filename);
	static bool WriteToDisk(StreamedMesh* pMesh, std::string& filename);
	static bool ReadFromDisk(const std::string& filename, StreamedMesh** pOut);
};